<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8" %>
<%@page import="com.hkunderground.blogger.helper.ConstantHelper" %>
<%@page import="com.hkunderground.blogger.obj.Blog" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Blog Detail</title>
</head>
<body>
<%
	Blog blog = (Blog)request.getAttribute(ConstantHelper.BLOGGER_NAME_BLOG);
	if( blog == null)
	{
%>
		No Blog
<%		
	}
	else
	{	
%>			
		Title: <b><%= blog.getBlogTitle() %></b><BR>
		Date: <%= blog.getPublishDate() %><br>
		<%= blog.getBlogContent() %><p/>
<%
	}//if blog arr is null
%>
</body>
</html>